import java.util.Scanner;
//Sets the class to enable you to use the buffer reader
class Loan_Payment_Calculator {
	public static void main(String args[]) {
		Scanner m_user_input = new Scanner(System.in);
		
		//Calls a class to print the main menu 
		c_menu menu_object = new c_menu();
		c_first_check checking_1stobject = new c_first_check();
		c_second_check checking_2ndobject = new c_second_check();
		c_third_check checking_3rdobject = new c_third_check();
		menu_object.m_show();
		
		//Reads operation from user
		int v_operation = m_user_input.nextInt();
		
		//Calls a method to check operation
		checking_1stobject.m_1st_check(v_operation);
		checking_2ndobject.m_2nd_check(v_operation);
		checking_3rdobject.m_3rd_check(v_operation);
		
	}
}
